﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using ShivamEMR.Model.Domain.ServicesDomain;
using System.ComponentModel.DataAnnotations;

namespace ShivamEMR.Model.Domain.PatientDomain
{
    public class PatientService
    {
        #region Properties
        public Guid ID { get; set; }
        [Required]
        public DateTime DateAndTime { get; set; }
        public string Description { get; set; }
        public string Notes { get; set; } 
        #endregion

        #region ForeignKeyProperties
        [ForeignKey("Addmission")]
        public Guid AdmissionID { get; set; }
        [ForeignKey("ServiceItem")]
        public Guid ServiceItemID { get; set; } 
        #endregion

        #region NavigationalProperties     
        public virtual Admission Addmission { get; set; }
        public virtual ServiceItem ServiceItem { get; set; } 
        #endregion

    }
}
